import pygame
class PartingLine(object):
    def __init__(self, size,screen, WIDTH, HEIGHT, line_width = 1, line_color = (0, 0, 0)):
        self.size = size
        self.width = WIDTH
        self.height = HEIGHT
        self.screen = screen
        self.line_width = line_width
        self.line_color = line_color
    def draw(self):
        for x in range(self.size, self.width, self.size):
            pygame.draw.line(self.screen, self.line_color, (x, 0), (x, self.height), self.line_width)
        for y in range(self.size, self.height, self.size):
            pygame.draw.line(self.screen, self.line_color, (0, y), (self.width, y), self.line_width)



